home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 11 / CU Amiga Magazine's Super CD-ROM 11 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-06].iso / cucd / programming / dignet / converttables / .converttables.readme next >
Text File  |  1997-03-16  |  2KB  |  63 lines

  1. Short:    Converttables for any charset (ISO/IBN+)
  2. Author:   kenny@bgnett.no (Kenneth "Kenny" Nilsen)
  3. Type:     dev/misc 
  4. Version:  1.0 
  5.  
  6.  
  7. $VER: ConvertTables 1.0 (16.3.97)
  8.  
  9. Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
  10. All rights reserved.
  11.  
  12.  
  13. This archive companies the DigNet.lha 3.0 library orignally.
  14.  
  15.  
  16. In this archive you will find convert tables for:
  17.  
  18. APPLE,DE7,FR7,GE7,IBM,IBMM,IBN,ISO,IT7,NO7,PO7,SF7,SP7,UK7 and US7.
  19.  
  20. The tables convert one of the charset to all the others in all combinations.
  21. The table was created using the BBSread library's convert routine from the
  22. Thor package, but the tables within here was made and are copyrighted (c)
  23. 1997 by Kenneth "Kenny" Nilsen.
  24.  
  25. The tables are freely distributable as long as they are not changed.
  26. The bin files are public domain.
  27.  
  28. ----------------------------------------------------------------------------
  29.  
  30. Example on how to read the tables:
  31.  
  32. FROM  TO
  33. ISO   APPLE DE7  FR7  GE7  IBM IBMM  IBN  IT7  NO7  PO7  SF7  SP7  UK7  US7
  34. ---------------------------------------------------------------------------
  35.  164   192   36   36   36  168  207  168   36   36   36   36   36   36   36
  36.  
  37.  
  38. In the column FROM ISO you will find all ascii numbers from 128-255 as-is.
  39. (well, ascii standard is only 0-127 therefor you'll need convert tables for
  40. the numbers above since they are not standard).
  41.  
  42. If you then want to convert a char from ISO to lets say IBN, you go to the
  43. column that says IBN. If you then have ISO char 164 it will become 168 when
  44. converted to IBN.
  45.  
  46. ----------------------------------------------------------------------------
  47.  
  48. In the BIN dir you will find files that are 256 bytes in length each. These
  49. are ready to compile for your program.
  50.  
  51. Lets say you want to make a program that converts NO7 to IBN; your routine
  52. would like this in assembler:
  53.  
  54. Convert    lea    NO7(pc),a0    ;(char)(d0:8)
  55.     move.b    (a0,d0.w),d0
  56.     rts
  57.  
  58. NO7    incbin    "bin/fromNO7toIBN.bin"
  59.  
  60.  
  61. Converting can of course be done from C as well.
  62.  
  63.